package com.zj.fx.model.info;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import cn.hutool.core.util.StrUtil;

/**
 * 供电所信息表 InfoSupplyExample
 *
 * @author SQL_自动生成
 * @date 2023-11-21 17:08:26
 */
public class InfoSupplyExample {

    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public InfoSupplyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }


        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }


        public Criteria andNumIsNull() {
            addCriterion("num is null");
            return (Criteria) this;
        }

        public Criteria andNumIsNotNull() {
            addCriterion("num is not null");
            return (Criteria) this;
        }

        public Criteria andNumEqualTo(String value) {
            addCriterion("num =", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotEqualTo(String value) {
            addCriterion("num <>", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThan(String value) {
            addCriterion("num >", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThanOrEqualTo(String value) {
            addCriterion("num >=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThan(String value) {
            addCriterion("num <", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThanOrEqualTo(String value) {
            addCriterion("num <=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLike(String value) {
            addCriterion("num like", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotLike(String value) {
            addCriterion("num not like", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumIn(List<String> values) {
            addCriterion("num in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotIn(List<String> values) {
            addCriterion("num not in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumBetween(String value1, String value2) {
            addCriterion("num between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotBetween(String value1, String value2) {
            addCriterion("num not between", value1, value2, "num");
            return (Criteria) this;
        }


        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }


        public Criteria andOrganizationIsNull() {
            addCriterion("organization is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNotNull() {
            addCriterion("organization is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationEqualTo(String value) {
            addCriterion("organization =", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotEqualTo(String value) {
            addCriterion("organization <>", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThan(String value) {
            addCriterion("organization >", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThanOrEqualTo(String value) {
            addCriterion("organization >=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThan(String value) {
            addCriterion("organization <", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThanOrEqualTo(String value) {
            addCriterion("organization <=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLike(String value) {
            addCriterion("organization like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotLike(String value) {
            addCriterion("organization not like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationIn(List<String> values) {
            addCriterion("organization in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotIn(List<String> values) {
            addCriterion("organization not in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationBetween(String value1, String value2) {
            addCriterion("organization between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotBetween(String value1, String value2) {
            addCriterion("organization not between", value1, value2, "organization");
            return (Criteria) this;
        }


        public Criteria andStarratingIsNull() {
            addCriterion("starrating is null");
            return (Criteria) this;
        }

        public Criteria andStarratingIsNotNull() {
            addCriterion("starrating is not null");
            return (Criteria) this;
        }

        public Criteria andStarratingEqualTo(String value) {
            addCriterion("starrating =", value, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingNotEqualTo(String value) {
            addCriterion("starrating <>", value, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingGreaterThan(String value) {
            addCriterion("starrating >", value, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingGreaterThanOrEqualTo(String value) {
            addCriterion("starrating >=", value, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingLessThan(String value) {
            addCriterion("starrating <", value, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingLessThanOrEqualTo(String value) {
            addCriterion("starrating <=", value, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingLike(String value) {
            addCriterion("starrating like", value, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingNotLike(String value) {
            addCriterion("starrating not like", value, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingIn(List<String> values) {
            addCriterion("starrating in", values, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingNotIn(List<String> values) {
            addCriterion("starrating not in", values, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingBetween(String value1, String value2) {
            addCriterion("starrating between", value1, value2, "starrating");
            return (Criteria) this;
        }

        public Criteria andStarratingNotBetween(String value1, String value2) {
            addCriterion("starrating not between", value1, value2, "starrating");
            return (Criteria) this;
        }


        public Criteria andTypeImportantIsNull() {
            addCriterion("type_important is null");
            return (Criteria) this;
        }

        public Criteria andTypeImportantIsNotNull() {
            addCriterion("type_important is not null");
            return (Criteria) this;
        }

        public Criteria andTypeImportantEqualTo(Integer value) {
            addCriterion("type_important =", value, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantNotEqualTo(Integer value) {
            addCriterion("type_important <>", value, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantGreaterThan(Integer value) {
            addCriterion("type_important >", value, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantGreaterThanOrEqualTo(Integer value) {
            addCriterion("type_important >=", value, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantLessThan(Integer value) {
            addCriterion("type_important <", value, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantLessThanOrEqualTo(Integer value) {
            addCriterion("type_important <=", value, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantLike(Integer value) {
            addCriterion("type_important like", value, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantNotLike(Integer value) {
            addCriterion("type_important not like", value, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantIn(List<Integer> values) {
            addCriterion("type_important in", values, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantNotIn(List<Integer> values) {
            addCriterion("type_important not in", values, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantBetween(Integer value1, Integer value2) {
            addCriterion("type_important between", value1, value2, "typeImportant");
            return (Criteria) this;
        }

        public Criteria andTypeImportantNotBetween(Integer value1, Integer value2) {
            addCriterion("type_important not between", value1, value2, "typeImportant");
            return (Criteria) this;
        }


        public Criteria andType10kvIsNull() {
            addCriterion("type_10kv is null");
            return (Criteria) this;
        }

        public Criteria andType10kvIsNotNull() {
            addCriterion("type_10kv is not null");
            return (Criteria) this;
        }

        public Criteria andType10kvEqualTo(Integer value) {
            addCriterion("type_10kv =", value, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvNotEqualTo(Integer value) {
            addCriterion("type_10kv <>", value, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvGreaterThan(Integer value) {
            addCriterion("type_10kv >", value, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvGreaterThanOrEqualTo(Integer value) {
            addCriterion("type_10kv >=", value, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvLessThan(Integer value) {
            addCriterion("type_10kv <", value, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvLessThanOrEqualTo(Integer value) {
            addCriterion("type_10kv <=", value, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvLike(Integer value) {
            addCriterion("type_10kv like", value, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvNotLike(Integer value) {
            addCriterion("type_10kv not like", value, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvIn(List<Integer> values) {
            addCriterion("type_10kv in", values, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvNotIn(List<Integer> values) {
            addCriterion("type_10kv not in", values, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvBetween(Integer value1, Integer value2) {
            addCriterion("type_10kv between", value1, value2, "type10kv");
            return (Criteria) this;
        }

        public Criteria andType10kvNotBetween(Integer value1, Integer value2) {
            addCriterion("type_10kv not between", value1, value2, "type10kv");
            return (Criteria) this;
        }


        public Criteria andTypeRisingIsNull() {
            addCriterion("type_rising is null");
            return (Criteria) this;
        }

        public Criteria andTypeRisingIsNotNull() {
            addCriterion("type_rising is not null");
            return (Criteria) this;
        }

        public Criteria andTypeRisingEqualTo(Integer value) {
            addCriterion("type_rising =", value, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingNotEqualTo(Integer value) {
            addCriterion("type_rising <>", value, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingGreaterThan(Integer value) {
            addCriterion("type_rising >", value, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingGreaterThanOrEqualTo(Integer value) {
            addCriterion("type_rising >=", value, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingLessThan(Integer value) {
            addCriterion("type_rising <", value, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingLessThanOrEqualTo(Integer value) {
            addCriterion("type_rising <=", value, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingLike(Integer value) {
            addCriterion("type_rising like", value, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingNotLike(Integer value) {
            addCriterion("type_rising not like", value, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingIn(List<Integer> values) {
            addCriterion("type_rising in", values, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingNotIn(List<Integer> values) {
            addCriterion("type_rising not in", values, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingBetween(Integer value1, Integer value2) {
            addCriterion("type_rising between", value1, value2, "typeRising");
            return (Criteria) this;
        }

        public Criteria andTypeRisingNotBetween(Integer value1, Integer value2) {
            addCriterion("type_rising not between", value1, value2, "typeRising");
            return (Criteria) this;
        }


        public Criteria andTypeIspartyIsNull() {
            addCriterion("type_isparty is null");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyIsNotNull() {
            addCriterion("type_isparty is not null");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyEqualTo(String value) {
            addCriterion("type_isparty =", value, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyNotEqualTo(String value) {
            addCriterion("type_isparty <>", value, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyGreaterThan(String value) {
            addCriterion("type_isparty >", value, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyGreaterThanOrEqualTo(String value) {
            addCriterion("type_isparty >=", value, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyLessThan(String value) {
            addCriterion("type_isparty <", value, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyLessThanOrEqualTo(String value) {
            addCriterion("type_isparty <=", value, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyLike(String value) {
            addCriterion("type_isparty like", value, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyNotLike(String value) {
            addCriterion("type_isparty not like", value, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyIn(List<String> values) {
            addCriterion("type_isparty in", values, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyNotIn(List<String> values) {
            addCriterion("type_isparty not in", values, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyBetween(String value1, String value2) {
            addCriterion("type_isparty between", value1, value2, "typeIsparty");
            return (Criteria) this;
        }

        public Criteria andTypeIspartyNotBetween(String value1, String value2) {
            addCriterion("type_isparty not between", value1, value2, "typeIsparty");
            return (Criteria) this;
        }


        public Criteria andPartyBranchIsNull() {
            addCriterion("party_branch is null");
            return (Criteria) this;
        }

        public Criteria andPartyBranchIsNotNull() {
            addCriterion("party_branch is not null");
            return (Criteria) this;
        }

        public Criteria andPartyBranchEqualTo(String value) {
            addCriterion("party_branch =", value, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchNotEqualTo(String value) {
            addCriterion("party_branch <>", value, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchGreaterThan(String value) {
            addCriterion("party_branch >", value, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchGreaterThanOrEqualTo(String value) {
            addCriterion("party_branch >=", value, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchLessThan(String value) {
            addCriterion("party_branch <", value, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchLessThanOrEqualTo(String value) {
            addCriterion("party_branch <=", value, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchLike(String value) {
            addCriterion("party_branch like", value, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchNotLike(String value) {
            addCriterion("party_branch not like", value, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchIn(List<String> values) {
            addCriterion("party_branch in", values, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchNotIn(List<String> values) {
            addCriterion("party_branch not in", values, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchBetween(String value1, String value2) {
            addCriterion("party_branch between", value1, value2, "partyBranch");
            return (Criteria) this;
        }

        public Criteria andPartyBranchNotBetween(String value1, String value2) {
            addCriterion("party_branch not between", value1, value2, "partyBranch");
            return (Criteria) this;
        }


        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }


        public Criteria andOrganizationNameIsNull() {
            addCriterion("organization_name is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameIsNotNull() {
            addCriterion("organization_name is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameEqualTo(String value) {
            addCriterion("organization_name =", value, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameNotEqualTo(String value) {
            addCriterion("organization_name <>", value, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameGreaterThan(String value) {
            addCriterion("organization_name >", value, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameGreaterThanOrEqualTo(String value) {
            addCriterion("organization_name >=", value, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameLessThan(String value) {
            addCriterion("organization_name <", value, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameLessThanOrEqualTo(String value) {
            addCriterion("organization_name <=", value, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameLike(String value) {
            addCriterion("organization_name like", value, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameNotLike(String value) {
            addCriterion("organization_name not like", value, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameIn(List<String> values) {
            addCriterion("organization_name in", values, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameNotIn(List<String> values) {
            addCriterion("organization_name not in", values, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameBetween(String value1, String value2) {
            addCriterion("organization_name between", value1, value2, "organizationName");
            return (Criteria) this;
        }

        public Criteria andOrganizationNameNotBetween(String value1, String value2) {
            addCriterion("organization_name not between", value1, value2, "organizationName");
            return (Criteria) this;
        }


        public Criteria andIsBasepartyIsNull() {
            addCriterion("is_baseparty is null");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyIsNotNull() {
            addCriterion("is_baseparty is not null");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyEqualTo(String value) {
            addCriterion("is_baseparty =", value, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyNotEqualTo(String value) {
            addCriterion("is_baseparty <>", value, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyGreaterThan(String value) {
            addCriterion("is_baseparty >", value, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyGreaterThanOrEqualTo(String value) {
            addCriterion("is_baseparty >=", value, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyLessThan(String value) {
            addCriterion("is_baseparty <", value, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyLessThanOrEqualTo(String value) {
            addCriterion("is_baseparty <=", value, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyLike(String value) {
            addCriterion("is_baseparty like", value, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyNotLike(String value) {
            addCriterion("is_baseparty not like", value, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyIn(List<String> values) {
            addCriterion("is_baseparty in", values, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyNotIn(List<String> values) {
            addCriterion("is_baseparty not in", values, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyBetween(String value1, String value2) {
            addCriterion("is_baseparty between", value1, value2, "isBaseparty");
            return (Criteria) this;
        }

        public Criteria andIsBasepartyNotBetween(String value1, String value2) {
            addCriterion("is_baseparty not between", value1, value2, "isBaseparty");
            return (Criteria) this;
        }


        public Criteria andTypeJkxlIsNull() {
            addCriterion("type_jkxl is null");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlIsNotNull() {
            addCriterion("type_jkxl is not null");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlEqualTo(String value) {
            addCriterion("type_jkxl =", value, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlNotEqualTo(String value) {
            addCriterion("type_jkxl <>", value, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlGreaterThan(String value) {
            addCriterion("type_jkxl >", value, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlGreaterThanOrEqualTo(String value) {
            addCriterion("type_jkxl >=", value, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlLessThan(String value) {
            addCriterion("type_jkxl <", value, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlLessThanOrEqualTo(String value) {
            addCriterion("type_jkxl <=", value, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlLike(String value) {
            addCriterion("type_jkxl like", value, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlNotLike(String value) {
            addCriterion("type_jkxl not like", value, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlIn(List<String> values) {
            addCriterion("type_jkxl in", values, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlNotIn(List<String> values) {
            addCriterion("type_jkxl not in", values, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlBetween(String value1, String value2) {
            addCriterion("type_jkxl between", value1, value2, "typeJkxl");
            return (Criteria) this;
        }

        public Criteria andTypeJkxlNotBetween(String value1, String value2) {
            addCriterion("type_jkxl not between", value1, value2, "typeJkxl");
            return (Criteria) this;
        }


        public Criteria andTypeZssbIsNull() {
            addCriterion("type_zssb is null");
            return (Criteria) this;
        }

        public Criteria andTypeZssbIsNotNull() {
            addCriterion("type_zssb is not null");
            return (Criteria) this;
        }

        public Criteria andTypeZssbEqualTo(String value) {
            addCriterion("type_zssb =", value, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbNotEqualTo(String value) {
            addCriterion("type_zssb <>", value, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbGreaterThan(String value) {
            addCriterion("type_zssb >", value, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbGreaterThanOrEqualTo(String value) {
            addCriterion("type_zssb >=", value, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbLessThan(String value) {
            addCriterion("type_zssb <", value, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbLessThanOrEqualTo(String value) {
            addCriterion("type_zssb <=", value, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbLike(String value) {
            addCriterion("type_zssb like", value, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbNotLike(String value) {
            addCriterion("type_zssb not like", value, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbIn(List<String> values) {
            addCriterion("type_zssb in", values, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbNotIn(List<String> values) {
            addCriterion("type_zssb not in", values, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbBetween(String value1, String value2) {
            addCriterion("type_zssb between", value1, value2, "typeZssb");
            return (Criteria) this;
        }

        public Criteria andTypeZssbNotBetween(String value1, String value2) {
            addCriterion("type_zssb not between", value1, value2, "typeZssb");
            return (Criteria) this;
        }


        public Criteria andTypeDldlIsNull() {
            addCriterion("type_dldl is null");
            return (Criteria) this;
        }

        public Criteria andTypeDldlIsNotNull() {
            addCriterion("type_dldl is not null");
            return (Criteria) this;
        }

        public Criteria andTypeDldlEqualTo(String value) {
            addCriterion("type_dldl =", value, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlNotEqualTo(String value) {
            addCriterion("type_dldl <>", value, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlGreaterThan(String value) {
            addCriterion("type_dldl >", value, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlGreaterThanOrEqualTo(String value) {
            addCriterion("type_dldl >=", value, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlLessThan(String value) {
            addCriterion("type_dldl <", value, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlLessThanOrEqualTo(String value) {
            addCriterion("type_dldl <=", value, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlLike(String value) {
            addCriterion("type_dldl like", value, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlNotLike(String value) {
            addCriterion("type_dldl not like", value, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlIn(List<String> values) {
            addCriterion("type_dldl in", values, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlNotIn(List<String> values) {
            addCriterion("type_dldl not in", values, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlBetween(String value1, String value2) {
            addCriterion("type_dldl between", value1, value2, "typeDldl");
            return (Criteria) this;
        }

        public Criteria andTypeDldlNotBetween(String value1, String value2) {
            addCriterion("type_dldl not between", value1, value2, "typeDldl");
            return (Criteria) this;
        }


        public Criteria andTypeZykgzIsNull() {
            addCriterion("type_zykgz is null");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzIsNotNull() {
            addCriterion("type_zykgz is not null");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzEqualTo(String value) {
            addCriterion("type_zykgz =", value, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzNotEqualTo(String value) {
            addCriterion("type_zykgz <>", value, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzGreaterThan(String value) {
            addCriterion("type_zykgz >", value, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzGreaterThanOrEqualTo(String value) {
            addCriterion("type_zykgz >=", value, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzLessThan(String value) {
            addCriterion("type_zykgz <", value, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzLessThanOrEqualTo(String value) {
            addCriterion("type_zykgz <=", value, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzLike(String value) {
            addCriterion("type_zykgz like", value, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzNotLike(String value) {
            addCriterion("type_zykgz not like", value, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzIn(List<String> values) {
            addCriterion("type_zykgz in", values, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzNotIn(List<String> values) {
            addCriterion("type_zykgz not in", values, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzBetween(String value1, String value2) {
            addCriterion("type_zykgz between", value1, value2, "typeZykgz");
            return (Criteria) this;
        }

        public Criteria andTypeZykgzNotBetween(String value1, String value2) {
            addCriterion("type_zykgz not between", value1, value2, "typeZykgz");
            return (Criteria) this;
        }


        public Criteria andTypeHwdyIsNull() {
            addCriterion("type_hwdy is null");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyIsNotNull() {
            addCriterion("type_hwdy is not null");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyEqualTo(String value) {
            addCriterion("type_hwdy =", value, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyNotEqualTo(String value) {
            addCriterion("type_hwdy <>", value, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyGreaterThan(String value) {
            addCriterion("type_hwdy >", value, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyGreaterThanOrEqualTo(String value) {
            addCriterion("type_hwdy >=", value, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyLessThan(String value) {
            addCriterion("type_hwdy <", value, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyLessThanOrEqualTo(String value) {
            addCriterion("type_hwdy <=", value, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyLike(String value) {
            addCriterion("type_hwdy like", value, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyNotLike(String value) {
            addCriterion("type_hwdy not like", value, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyIn(List<String> values) {
            addCriterion("type_hwdy in", values, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyNotIn(List<String> values) {
            addCriterion("type_hwdy not in", values, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyBetween(String value1, String value2) {
            addCriterion("type_hwdy between", value1, value2, "typeHwdy");
            return (Criteria) this;
        }

        public Criteria andTypeHwdyNotBetween(String value1, String value2) {
            addCriterion("type_hwdy not between", value1, value2, "typeHwdy");
            return (Criteria) this;
        }


        public Criteria andTypePdsIsNull() {
            addCriterion("type_pds is null");
            return (Criteria) this;
        }

        public Criteria andTypePdsIsNotNull() {
            addCriterion("type_pds is not null");
            return (Criteria) this;
        }

        public Criteria andTypePdsEqualTo(String value) {
            addCriterion("type_pds =", value, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsNotEqualTo(String value) {
            addCriterion("type_pds <>", value, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsGreaterThan(String value) {
            addCriterion("type_pds >", value, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsGreaterThanOrEqualTo(String value) {
            addCriterion("type_pds >=", value, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsLessThan(String value) {
            addCriterion("type_pds <", value, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsLessThanOrEqualTo(String value) {
            addCriterion("type_pds <=", value, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsLike(String value) {
            addCriterion("type_pds like", value, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsNotLike(String value) {
            addCriterion("type_pds not like", value, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsIn(List<String> values) {
            addCriterion("type_pds in", values, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsNotIn(List<String> values) {
            addCriterion("type_pds not in", values, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsBetween(String value1, String value2) {
            addCriterion("type_pds between", value1, value2, "typePds");
            return (Criteria) this;
        }

        public Criteria andTypePdsNotBetween(String value1, String value2) {
            addCriterion("type_pds not between", value1, value2, "typePds");
            return (Criteria) this;
        }


        public Criteria andTypeXsbdzIsNull() {
            addCriterion("type_xsbdz is null");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzIsNotNull() {
            addCriterion("type_xsbdz is not null");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzEqualTo(String value) {
            addCriterion("type_xsbdz =", value, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzNotEqualTo(String value) {
            addCriterion("type_xsbdz <>", value, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzGreaterThan(String value) {
            addCriterion("type_xsbdz >", value, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzGreaterThanOrEqualTo(String value) {
            addCriterion("type_xsbdz >=", value, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzLessThan(String value) {
            addCriterion("type_xsbdz <", value, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzLessThanOrEqualTo(String value) {
            addCriterion("type_xsbdz <=", value, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzLike(String value) {
            addCriterion("type_xsbdz like", value, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzNotLike(String value) {
            addCriterion("type_xsbdz not like", value, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzIn(List<String> values) {
            addCriterion("type_xsbdz in", values, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzNotIn(List<String> values) {
            addCriterion("type_xsbdz not in", values, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzBetween(String value1, String value2) {
            addCriterion("type_xsbdz between", value1, value2, "typeXsbdz");
            return (Criteria) this;
        }

        public Criteria andTypeXsbdzNotBetween(String value1, String value2) {
            addCriterion("type_xsbdz not between", value1, value2, "typeXsbdz");
            return (Criteria) this;
        }


        public Criteria andTypeDlxltdIsNull() {
            addCriterion("type_dlxltd is null");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdIsNotNull() {
            addCriterion("type_dlxltd is not null");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdEqualTo(String value) {
            addCriterion("type_dlxltd =", value, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdNotEqualTo(String value) {
            addCriterion("type_dlxltd <>", value, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdGreaterThan(String value) {
            addCriterion("type_dlxltd >", value, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdGreaterThanOrEqualTo(String value) {
            addCriterion("type_dlxltd >=", value, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdLessThan(String value) {
            addCriterion("type_dlxltd <", value, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdLessThanOrEqualTo(String value) {
            addCriterion("type_dlxltd <=", value, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdLike(String value) {
            addCriterion("type_dlxltd like", value, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdNotLike(String value) {
            addCriterion("type_dlxltd not like", value, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdIn(List<String> values) {
            addCriterion("type_dlxltd in", values, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdNotIn(List<String> values) {
            addCriterion("type_dlxltd not in", values, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdBetween(String value1, String value2) {
            addCriterion("type_dlxltd between", value1, value2, "typeDlxltd");
            return (Criteria) this;
        }

        public Criteria andTypeDlxltdNotBetween(String value1, String value2) {
            addCriterion("type_dlxltd not between", value1, value2, "typeDlxltd");
            return (Criteria) this;
        }


        public Criteria andLikeQuery(InfoSupply record) {
            List<String> list = new ArrayList<String>();
            List<String> list2 = new ArrayList<String>();
            StringBuffer buffer = new StringBuffer();
            if (record.getId() != null && StrUtil.isNotEmpty(record.getId().toString())) {
                list.add("ifnull(id,'')");
            }
            if (record.getNum() != null && StrUtil.isNotEmpty(record.getNum().toString())) {
                list.add("ifnull(num,'')");
            }
            if (record.getName() != null && StrUtil.isNotEmpty(record.getName().toString())) {
                list.add("ifnull(name,'')");
            }
            if (record.getOrganization() != null && StrUtil.isNotEmpty(record.getOrganization().toString())) {
                list.add("ifnull(organization,'')");
            }
            if (record.getStarrating() != null && StrUtil.isNotEmpty(record.getStarrating().toString())) {
                list.add("ifnull(starrating,'')");
            }
            if (record.getTypeImportant() != null && StrUtil.isNotEmpty(record.getTypeImportant().toString())) {
                list.add("ifnull(type_important,'')");
            }
            if (record.getType10kv() != null && StrUtil.isNotEmpty(record.getType10kv().toString())) {
                list.add("ifnull(type_10kv,'')");
            }
            if (record.getTypeRising() != null && StrUtil.isNotEmpty(record.getTypeRising().toString())) {
                list.add("ifnull(type_rising,'')");
            }
            if (record.getTypeIsparty() != null && StrUtil.isNotEmpty(record.getTypeIsparty().toString())) {
                list.add("ifnull(type_isparty,'')");
            }
            if (record.getPartyBranch() != null && StrUtil.isNotEmpty(record.getPartyBranch().toString())) {
                list.add("ifnull(party_branch,'')");
            }
            if (record.getRemark() != null && StrUtil.isNotEmpty(record.getRemark().toString())) {
                list.add("ifnull(remark,'')");
            }
            if (record.getOrganizationName() != null && StrUtil.isNotEmpty(record.getOrganizationName().toString())) {
                list.add("ifnull(organization_name,'')");
            }
            if (record.getIsBaseparty() != null && StrUtil.isNotEmpty(record.getIsBaseparty().toString())) {
                list.add("ifnull(is_baseparty,'')");
            }
            if (record.getTypeJkxl() != null && StrUtil.isNotEmpty(record.getTypeJkxl().toString())) {
                list.add("ifnull(type_jkxl,'')");
            }
            if (record.getTypeZssb() != null && StrUtil.isNotEmpty(record.getTypeZssb().toString())) {
                list.add("ifnull(type_zssb,'')");
            }
            if (record.getTypeDldl() != null && StrUtil.isNotEmpty(record.getTypeDldl().toString())) {
                list.add("ifnull(type_dldl,'')");
            }
            if (record.getTypeZykgz() != null && StrUtil.isNotEmpty(record.getTypeZykgz().toString())) {
                list.add("ifnull(type_zykgz,'')");
            }
            if (record.getTypeHwdy() != null && StrUtil.isNotEmpty(record.getTypeHwdy().toString())) {
                list.add("ifnull(type_hwdy,'')");
            }
            if (record.getTypePds() != null && StrUtil.isNotEmpty(record.getTypePds().toString())) {
                list.add("ifnull(type_pds,'')");
            }
            if (record.getTypeXsbdz() != null && StrUtil.isNotEmpty(record.getTypeXsbdz().toString())) {
                list.add("ifnull(type_xsbdz,'')");
            }
            if (record.getTypeDlxltd() != null && StrUtil.isNotEmpty(record.getTypeDlxltd().toString())) {
                list.add("ifnull(type_dlxltd,'')");
            }
            if (record.getId() != null && StrUtil.isNotEmpty(record.getId().toString())) {
                list2.add("'%" + record.getId() + "%'");
            }
            if (record.getNum() != null && StrUtil.isNotEmpty(record.getNum().toString())) {
                list2.add("'%" + record.getNum() + "%'");
            }
            if (record.getName() != null && StrUtil.isNotEmpty(record.getName().toString())) {
                list2.add("'%" + record.getName() + "%'");
            }
            if (record.getOrganization() != null && StrUtil.isNotEmpty(record.getOrganization().toString())) {
                list2.add("'%" + record.getOrganization() + "%'");
            }
            if (record.getStarrating() != null && StrUtil.isNotEmpty(record.getStarrating().toString())) {
                list2.add("'%" + record.getStarrating() + "%'");
            }
            if (record.getTypeImportant() != null && StrUtil.isNotEmpty(record.getTypeImportant().toString())) {
                list2.add("'%" + record.getTypeImportant() + "%'");
            }
            if (record.getType10kv() != null && StrUtil.isNotEmpty(record.getType10kv().toString())) {
                list2.add("'%" + record.getType10kv() + "%'");
            }
            if (record.getTypeRising() != null && StrUtil.isNotEmpty(record.getTypeRising().toString())) {
                list2.add("'%" + record.getTypeRising() + "%'");
            }
            if (record.getTypeIsparty() != null && StrUtil.isNotEmpty(record.getTypeIsparty().toString())) {
                list2.add("'%" + record.getTypeIsparty() + "%'");
            }
            if (record.getPartyBranch() != null && StrUtil.isNotEmpty(record.getPartyBranch().toString())) {
                list2.add("'%" + record.getPartyBranch() + "%'");
            }
            if (record.getRemark() != null && StrUtil.isNotEmpty(record.getRemark().toString())) {
                list2.add("'%" + record.getRemark() + "%'");
            }
            if (record.getOrganizationName() != null && StrUtil.isNotEmpty(record.getOrganizationName().toString())) {
                list2.add("'%" + record.getOrganizationName() + "%'");
            }
            if (record.getIsBaseparty() != null && StrUtil.isNotEmpty(record.getIsBaseparty().toString())) {
                list2.add("'%" + record.getIsBaseparty() + "%'");
            }
            if (record.getTypeJkxl() != null && StrUtil.isNotEmpty(record.getTypeJkxl().toString())) {
                list2.add("'%" + record.getTypeJkxl() + "%'");
            }
            if (record.getTypeZssb() != null && StrUtil.isNotEmpty(record.getTypeZssb().toString())) {
                list2.add("'%" + record.getTypeZssb() + "%'");
            }
            if (record.getTypeDldl() != null && StrUtil.isNotEmpty(record.getTypeDldl().toString())) {
                list2.add("'%" + record.getTypeDldl() + "%'");
            }
            if (record.getTypeZykgz() != null && StrUtil.isNotEmpty(record.getTypeZykgz().toString())) {
                list2.add("'%" + record.getTypeZykgz() + "%'");
            }
            if (record.getTypeHwdy() != null && StrUtil.isNotEmpty(record.getTypeHwdy().toString())) {
                list2.add("'%" + record.getTypeHwdy() + "%'");
            }
            if (record.getTypePds() != null && StrUtil.isNotEmpty(record.getTypePds().toString())) {
                list2.add("'%" + record.getTypePds() + "%'");
            }
            if (record.getTypeXsbdz() != null && StrUtil.isNotEmpty(record.getTypeXsbdz().toString())) {
                list2.add("'%" + record.getTypeXsbdz() + "%'");
            }
            if (record.getTypeDlxltd() != null && StrUtil.isNotEmpty(record.getTypeDlxltd().toString())) {
                list2.add("'%" + record.getTypeDlxltd() + "%'");
            }
            buffer.append(" CONCAT(");
            buffer.append(StrUtil.join(",", list));
            buffer.append(")");
            buffer.append(" like CONCAT(");
            buffer.append(StrUtil.join(",", list2));
            buffer.append(")");
            if (!" CONCAT() like CONCAT()".equals(buffer.toString())) {
                addCriterion(buffer.toString());
            }
            return (Criteria) this;
        }

        public Criteria andLikeQuery2(String searchText) {
            List<String> list = new ArrayList<String>();
            StringBuffer buffer = new StringBuffer();
            list.add("ifnull(id,'')");
            list.add("ifnull(num,'')");
            list.add("ifnull(name,'')");
            list.add("ifnull(organization,'')");
            list.add("ifnull(starrating,'')");
            list.add("ifnull(type_important,'')");
            list.add("ifnull(type_10kv,'')");
            list.add("ifnull(type_rising,'')");
            list.add("ifnull(type_isparty,'')");
            list.add("ifnull(party_branch,'')");
            list.add("ifnull(remark,'')");
            list.add("ifnull(organization_name,'')");
            list.add("ifnull(is_baseparty,'')");
            list.add("ifnull(type_jkxl,'')");
            list.add("ifnull(type_zssb,'')");
            list.add("ifnull(type_dldl,'')");
            list.add("ifnull(type_zykgz,'')");
            list.add("ifnull(type_hwdy,'')");
            list.add("ifnull(type_pds,'')");
            list.add("ifnull(type_xsbdz,'')");
            list.add("ifnull(type_dlxltd,'')");
            buffer.append(" CONCAT(");
            buffer.append(StrUtil.join(",", list));
            buffer.append(")");
            buffer.append("like '%");
            buffer.append(searchText);
            buffer.append("%'");
            addCriterion(buffer.toString());
            return (Criteria) this;
        }

    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}